package sample.templates;

import java.util.Enumeration;
import java.util.Vector;

public abstract class TypedBin {
	Vector v = new Vector();
	
	protected boolean addIt(Trash T) {
		v.addElement(T);
		return true;
	}

	public Enumeration elements() {
		return v.elements();
	}

	public boolean add(DDAluminum ddAluminum) {
		return false;
	}

	public boolean add(DDPaper ddPaper) {
		return false;
	}

	public boolean add(DDGlass ddGlass) {
		return false;
	}

	public boolean add(DDCardboard ddCardboard) {
		return false;
	}

}
